package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.JieyongConfrimSL;

public interface JieyongConfrimSLRepository extends JpaRepository<JieyongConfrimSL, Long> {

    List<JieyongConfrimSL> findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<JieyongConfrimSL> findAllByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);

    List<JieyongConfrimSL> findByWorkOrderNum(String workOrderNum);

    List<JieyongConfrimSL> findByWorkOrderNumOrderByIdDesc(String workOrderNum);

}
